package parser;

/** 继承属性 */
public class AttInfo implements Cloneable {
    public int depth;
    public int value = -1;
    public int id = -1;
    public int sIndex;
    public String type;

    public AttInfo(int depth) {
        this.depth = depth;
    }

    @Override
    public AttInfo clone() {
        try {
            return (AttInfo) super.clone();
        } catch (Exception e) {
            return new AttInfo(0);
        }
    }
}
